package com.pvdnc.tapkit.chat.chat.server;

import com.pvdnc.nsocket.log.SLog;
import com.pvdnc.nsocket.protocol.base.Packet;
import com.pvdnc.nsocket.server.ClientProxy;
import com.pvdnc.tapkit.chat.chat.packet.ServerClose;

import io.netty.channel.Channel;

public class ClientProxyImpl extends ClientProxy {
    private static final SLog LOG=new SLog(ClientProxyImpl.class);

    public ClientProxyImpl(Channel channel) {
        super(channel);
    }

    @Override
    public Packet onPreClose() {
        return new ServerClose();
    }

    @Override
    public void onPostClose() {
        LOG.d("on post close");
    }
}
